import {
  HomeOutlined,
  DashboardOutlined,
  VideoCameraOutlined,
  UploadOutlined,
  SettingOutlined,
  UserOutlined,
  QuestionCircleOutlined,
  OpenAIOutlined,
} from "@ant-design/icons";

export function changeIcon(key: string) {
  switch (key) {
    case "/wzs":
      return <HomeOutlined />;
    case "/wzs/dashboard":
      return <DashboardOutlined />;
    case "/wzs/customers":
      return <VideoCameraOutlined />;
    case "/wzs/invoices":
      return <UploadOutlined />;
    case "/wzs/setting":
      return <SettingOutlined />;
    case "/wzs/user":
      return <UserOutlined />;
    case "/wzs/chat":
      return <OpenAIOutlined />
    default:
      return <QuestionCircleOutlined />;
  }
}
